<html>
<head>
	<title>Excersise 6</title>
	<link href="styles/js-console.css" rel="stylesheet" />
</head>
<body>
	<div id="js-console"></div>
	<script src="scripts/js-console.js"></script>
	<script>
	var coordsX = new Array(1, 5, 2, 5, 1, 0, 4);
	var coordsY = new Array(1, 3, 2, 7, 8, 1, 3);
	for (var i = 0;i < 7;i++)
		{
			if ((coordsX[i] * coordsX[i] + coordsY[i] * coordsY[i]) < 25)
			{
				jsConsole.writeLine("point with coordinates (" + coordsX[i] + "," + coordsY[i] + ") is in the circle");
			}
			else
			{
				jsConsole.writeLine("point with coordinates (" + coordsX[i] + "," + coordsY[i] + ") is NOT in the circle");
			}
	}
	</script>
</body>
</html>
